package com.cskaoyan.catmall.service;

import com.cskaoyan.catmall.model.bo.WxGoodsListBo;
import com.cskaoyan.catmall.model.pojo.MarketUser;
import com.cskaoyan.catmall.model.vo.WxCategoryVo;
import com.cskaoyan.catmall.model.vo.WxGoodsDetailVo;
import com.cskaoyan.catmall.model.vo.WxGoodsVo;
import com.cskaoyan.catmall.model.vo.WxRelatedGoodsVo;

public interface WxGoodsService {
    int getGoodsCount();

    WxCategoryVo getCategoryById(Integer id);

    WxGoodsVo getGoodsSelective(WxGoodsListBo goodsListBo);

    WxGoodsDetailVo getGoodsDetailByGoodsId(Integer goodsId);

    WxGoodsVo getGoodsByBrandId(Integer brandId);

    WxRelatedGoodsVo  getRelatedGoods(Integer id);

    void insertFootPrint(MarketUser principal,Integer id);
}
